package com.cby.android.sample.repository.api

import com.cby.android.sample.bean.tianxing.TXApiResponse
import com.cby.android.sample.bean.tianxing.TXWxNewArticleBean
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @description: TianXingService
 * @author: ChenBaoYang
 * @createDate: 2022/5/9 11:36 上午
 */
interface TianXingService {

    @GET("/wxnew/index")
    suspend fun loadWxNewArticleList(@Query("key") key:String,
                                     @Query("num") num: Int,
                                     @Query("page") page:Int): TXApiResponse<TXWxNewArticleBean>
}